package com.lehecai.core.task.sender.validator;

import com.lehecai.core.task.IAsyncTask;

/**
 * 发送任务之前的验证器
 * Created by qatang on 14-3-26.
 */
public interface IAsyncTaskSenderValidator {
    /**
     * 验证单个异步任务
     * @param asyncTask
     * @return
     * @throws Exception
     */
    public boolean validate(IAsyncTask asyncTask) throws Exception;
}
